import request from '@/utils/request'

export function getPaymentList (parameter) {
  return request({
    url: '/boss/finance/record/list',
    method: 'post',
    data: parameter
  })
}
export function getFinanceList (parameter) {
  return request({
    url: '/boss/finance/flow/list',
    method: 'post',
    data: parameter
  })
}
export function exportPDF (parameter) {
  return request({
    url: '/boss/budget/exportPDF',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
// 申请费用导出
export function costExport (parameter) {
  return request({
    url: '/boss/finance/projectCostsExport',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
